package cn.chengpengper.fragmentUpload.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

/*@formatter:off*/

/**
 * ____________________
 * < 神兽护体，永无bug! >
 * --------------------
 *
 * @author catwing
 * @version v1.0.0
 * @date 2024/12/4 22:41
 * @description 上传分片请求
 */

/*@formatter:on*/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShardUploadPartRequest {

    /**
     * 分片上传任务ID
     */
    private Long shardUploadId;

    /**
     * 分片序号
     */
    private Integer partOrder;

    /**
     * 分片文件
     */
    private MultipartFile file;
}
